package com.glory.brepda.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class MarerielLibraryBean implements Serializable {

    @SerializedName("MLOTLIST")
    private List<MlotlistBean> mlotlist;

    public static class MlotlistBean implements Serializable {
        /**
         * OBJECTRRN : 94031190
         * ORGRRN : 378341
         * MLOTID : M190325004
         * MAINQTY : 25
         * SUBQTY : 250000
         * STATE : IN
         * HOLDSTATE : Off
         * MATERIALRRN : 94017321
         * MATERIALNAME : SR-011IRAA
         * MATERIALVERSION : 1
         * MATERIALDESC : SR-011IRAA晶圆
         * MATERIALTYPE : WAFER
         * PARTNERCODE : V1001
         * PARTNERLOTID : XXCV
         * USEQTY : 0
         * ISTIMESENSITIVE : N
         * CREATED : 2019/03/25 14:56:28
         * LOTCOMMENT : XXXXXXXXXXXXX
         * UOMID : PCS
         * BATCHTYPE : L
         */

        @SerializedName("OBJECTRRN")
        private long objectrrn;
        @SerializedName("ORGRRN")
        private long orgrrn;
        @SerializedName("MLOTID")
        private String mlotid;
        @SerializedName("MAINQTY")
        private int mainqty;
        @SerializedName("SUBQTY")
        private int subqty;
        @SerializedName("STATE")
        private String state;
        @SerializedName("HOLDSTATE")
        private String holdstate;
        @SerializedName("MATERIALRRN")
        private long materialrrn;
        @SerializedName("MATERIALNAME")
        private String materialname;
        @SerializedName("MATERIALVERSION")
        private int materialversion;
        @SerializedName("MATERIALDESC")
        private String materialdesc;
        @SerializedName("MATERIALTYPE")
        private String materialtype;
        @SerializedName("PARTNERCODE")
        private String partnercode;
        @SerializedName("PARTNERLOTID")
        private String partnerlotid;
        @SerializedName("USEQTY")
        private int useqty;
        @SerializedName("ISTIMESENSITIVE")
        private String istimesensitive;
        @SerializedName("CREATED")
        private String created;
        @SerializedName("LOTCOMMENT")
        private String lotcomment;
        @SerializedName("UOMID")
        private String uomid;
        @SerializedName("BATCHTYPE")
        private String batchtype;

        public long getObjectrrn() {
            return objectrrn;
        }

        public long getOrgrrn() {
            return orgrrn;
        }

        public String getMlotid() {
            return mlotid;
        }

        public int getMainqty() {
            return mainqty;
        }

        public int getSubqty() {
            return subqty;
        }

        public String getState() {
            return state;
        }

        public String getHoldstate() {
            return holdstate;
        }

        public long getMaterialrrn() {
            return materialrrn;
        }

        public String getMaterialname() {
            return materialname;
        }

        public int getMaterialversion() {
            return materialversion;
        }

        public String getMaterialdesc() {
            return materialdesc;
        }

        public String getMaterialtype() {
            return materialtype;
        }

        public String getPartnercode() {
            return partnercode;
        }

        public String getPartnerlotid() {
            return partnerlotid;
        }

        public Integer getUseqty() {
            return useqty;
        }

        public String getIstimesensitive() {
            return istimesensitive;
        }

        public String getCreated() {
            return created;
        }

        public String getLotcomment() {
            return lotcomment;
        }

        public String getUomid() {
            return uomid;
        }

        public String getBatchtype() {
            return batchtype;
        }

        public void setObjectrrn(Integer objectrrn) {
            this.objectrrn = objectrrn;
        }

        public void setOrgrrn(Integer orgrrn) {
            this.orgrrn = orgrrn;
        }

        public void setMlotid(String mlotid) {
            this.mlotid = mlotid;
        }

        public void setMainqty(Integer mainqty) {
            this.mainqty = mainqty;
        }

        public void setSubqty(Integer subqty) {
            this.subqty = subqty;
        }

        public void setState(String state) {
            this.state = state;
        }

        public void setHoldstate(String holdstate) {
            this.holdstate = holdstate;
        }

        public void setMaterialrrn(Integer materialrrn) {
            this.materialrrn = materialrrn;
        }

        public void setMaterialname(String materialname) {
            this.materialname = materialname;
        }

        public void setMaterialversion(Integer materialversion) {
            this.materialversion = materialversion;
        }

        public void setMaterialdesc(String materialdesc) {
            this.materialdesc = materialdesc;
        }

        public void setMaterialtype(String materialtype) {
            this.materialtype = materialtype;
        }

        public void setPartnercode(String partnercode) {
            this.partnercode = partnercode;
        }

        public void setPartnerlotid(String partnerlotid) {
            this.partnerlotid = partnerlotid;
        }

        public void setUseqty(Integer useqty) {
            this.useqty = useqty;
        }

        public void setIstimesensitive(String istimesensitive) {
            this.istimesensitive = istimesensitive;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public void setLotcomment(String lotcomment) {
            this.lotcomment = lotcomment;
        }

        public void setUomid(String uomid) {
            this.uomid = uomid;
        }

        public void setBatchtype(String batchtype) {
            this.batchtype = batchtype;
        }

        @Override
        public String toString() {
            return "MlotlistBean{" +
                    "objectrrn=" + objectrrn +
                    ", orgrrn=" + orgrrn +
                    ", mlotid='" + mlotid + '\'' +
                    ", mainqty=" + mainqty +
                    ", subqty=" + subqty +
                    ", state='" + state + '\'' +
                    ", holdstate='" + holdstate + '\'' +
                    ", materialrrn=" + materialrrn +
                    ", materialname='" + materialname + '\'' +
                    ", materialversion=" + materialversion +
                    ", materialdesc='" + materialdesc + '\'' +
                    ", materialtype='" + materialtype + '\'' +
                    ", partnercode='" + partnercode + '\'' +
                    ", partnerlotid='" + partnerlotid + '\'' +
                    ", useqty=" + useqty +
                    ", istimesensitive='" + istimesensitive + '\'' +
                    ", created='" + created + '\'' +
                    ", lotcomment='" + lotcomment + '\'' +
                    ", uomid='" + uomid + '\'' +
                    ", batchtype='" + batchtype + '\'' +
                    '}';
        }
    }

    public List<MlotlistBean> getMlotlist() {
        return mlotlist;
    }

    public void setMlotlist(List<MlotlistBean> mlotlist) {
        this.mlotlist = mlotlist;
    }

    @Override
    public String toString() {
        return "MarerielLibraryBean{" +
                "mlotlist=" + mlotlist +
                '}';
    }
}
